<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="js/jquery-1.10.1.js" type="text/javascript" charset="utf-8"></script>
    <style type="text/css">
    	body{
    		width: 100%;
    		height: 100%;
    		/*background: red;*/
    	}
    	#sidebar{
    		float: left;
    		height: 100%;
    		background: red;
    	}
    </style>
</head>



<body>
	<div id="sidebar">
		sasdf 
	</div>
    <!--<select name="" id="select">
    	<option value="">1111111</option>
    	<option value="">1111111</option>
    </select>-->
</body>
  <script type="text/javascript">
  	function aaa () {
  		$("#sidebar").on("click",function  () {
  			bbb()
  		})
  	}
  	function  bbb() {
  		console.log(111111111)
  	}
  	aaa()
  </script>

</html>